package com.lfd.entity;



import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Order {

	private Long orderid;
	private Boolean ispayment;
    private Long userid;
    private String ordernumber;
    private Boolean isdelete;
    private Integer orderstatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creattime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;
	public Long getOrderid() {
		return orderid;
	}
	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}
	public Boolean getIspayment() {
		return ispayment;
	}
	public void setIspayment(Boolean ispayment) {
		this.ispayment = ispayment;
	}
	public Long getUserid() {
		return userid;
	}
	public void setUserid(Long userid) {
		this.userid = userid;
	}
	public String getOrdernumber() {
		return ordernumber;
	}
	public void setOrdernumber(String ordernumber) {
		this.ordernumber = ordernumber;
	}
	public Boolean getIsdelete() {
		return isdelete;
	}
	public void setIsdelete(Boolean isdelete) {
		this.isdelete = isdelete;
	}
	public Integer getOrderstatus() {
		return orderstatus;
	}
	public void setOrderstatus(Integer orderstatus) {
		this.orderstatus = orderstatus;
	}
	public Date getCreattime() {
		return creattime;
	}
	public void setCreattime(Date creattime) {
		this.creattime = creattime;
	}
	public Date getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	
	public Order() {
		super();
	}
	public Order(Long orderid, Boolean ispayment, Long userid, String ordernumber, Boolean isdelete,
			Integer orderstatus, Date creattime, Date updatetime) {
		super();
		this.orderid = orderid;
		this.ispayment = ispayment;
		this.userid = userid;
		this.ordernumber = ordernumber;
		this.isdelete = isdelete;
		this.orderstatus = orderstatus;
		this.creattime = creattime;
		this.updatetime = updatetime;
	}
	@Override
	public String toString() {
		return "Order [orderid=" + orderid + ", ispayment=" + ispayment + ", userid=" + userid + ", ordernumber="
				+ ordernumber + ", isdelete=" + isdelete + ", orderstatus=" + orderstatus + ", creattime=" + creattime
				+ ", updatetime=" + updatetime + "]";
	}
   
	
}
